package cn.stylefeng.guns.modular.cms.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.cms.entity.FeedbackCategory;
import cn.stylefeng.guns.modular.cms.model.params.FeedbackCategoryParam;
import cn.stylefeng.guns.modular.cms.model.result.FeedbackCategoryResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 意见反馈类型表 服务类
 * </p>
 *
 * @author yzb
 * @since 2019-11-07
 */
public interface FeedbackCategoryService extends IService<FeedbackCategory> {

    /**
     * 新增
     *
     * @author yzb
     * @Date 2019-11-07
     */
    void add(FeedbackCategoryParam param);

    /**
     * 删除
     *
     * @author yzb
     * @Date 2019-11-07
     */
    void delete(FeedbackCategoryParam param);

    /**
     * 更新
     *
     * @author yzb
     * @Date 2019-11-07
     */
    void update(FeedbackCategoryParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author yzb
     * @Date 2019-11-07
     */
    FeedbackCategoryResult findBySpec(FeedbackCategoryParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author yzb
     * @Date 2019-11-07
     */
    List<FeedbackCategoryResult> findListBySpec(FeedbackCategoryParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author yzb
     * @Date 2019-11-07
     */
     LayuiPageInfo findPageBySpec(FeedbackCategoryParam param);

}
